<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class User extends Model
{
    protected $pk = 'uid';
    protected $updateTime = false;

    public function group()
    {
        return $this->hasOne(UserGroup::class, 'id', 'ugid');
    }
}
